package com.example.aboutspringboot.mapper;

import com.example.aboutspringboot.entity.Admin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminMapper {

    @Select("select username,password from admin where username=#{username} and password=#{password}")
    Admin selectAdmin(Admin admin);

}
